<template>
  <div id="pixi"></div>
</template>

<script>
import Stage from '../canvas/stage';
import EarthAnime from '../canvas/earthAnime';
export default {
  name: "pixi",
  data(){
    return {
      stage: '',
      renderer: ''
    }
  },
  mounted() {
    const stage = new Stage({ele: document.getElementById('pixi')});
    const earth = new EarthAnime();
    stage.add(earth);
  }
}
</script>

<style scoped>

</style>
